* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 导航栏样式 */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo h1 {
    color: #4a4a4a;
    font-size: 1.8rem;
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #4a4a4a;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: #e77c7c;
}

.nav-links a.active {
    color: #e77c7c;
    border-bottom: 2px solid #e77c7c;
}

/* 首页英雄区域 */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 0 1rem;
    margin-top: 70px;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.hero p {
    font-size: 1.5rem;
    max-width: 600px;
}

/* 特色区域 */
.features {
    padding: 5rem 10%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    background-color: #fff;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item h3 {
    color: #e77c7c;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* 服务区域 */
.services {
    padding: 5rem 10%;
    background-color: #f9f9f9;
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #4a4a4a;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.service-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-item h3 {
    padding: 1rem;
    color: #e77c7c;
    font-size: 1.2rem;
}

.service-item p {
    padding: 0 1rem 1rem;
    color: #666;
}

/* 页脚样式 */
footer {
    background-color: #333;
    color: #fff;
    padding: 3rem 10% 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #e77c7c;
    margin-bottom: 1rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #e77c7c;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* 菜单按钮 */
.menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #4a4a4a;
    transition: all 0.3s ease;
}

/* 产品页面样式 */
.products {
    padding: 4rem 5%;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.product-card img {
    width: 100%;
    height: auto;
}

.product-card h3, .product-card p {
    padding: 1rem;
}

/* 荣誉页面样式 */
.honors {
    padding: 4rem 5%;
}

.honors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.honor-card {
    text-align: center;
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.honor-card img {
    width: 200px;
    height: 200px;
    border-radius: 10px;
    margin-bottom: 1rem;
}

/* 页面通用头部样式 */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/page-header-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    margin-top: 70px;
}

.page-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* 花艺服务页面样式 */
.service-category {
    margin: 4rem 0;
}

.service-category h3 {
    text-align: center;
    color: #e77c7c;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.service-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0 10%;
}

.service-detail-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.service-detail-item:hover {
    transform: translateY(-5px);
}

.service-detail-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-detail-item h4 {
    padding: 1rem;
    color: #4a4a4a;
}

.service-detail-item p {
    padding: 0 1rem;
    color: #666;
}

.price {
    padding: 1rem;
    color: #e77c7c;
    font-weight: bold;
}

/* 作品展示页面样式 */
.portfolio-filter {
    text-align: center;
    margin: 2rem 0;
}

.filter-btn {
    background: none;
    border: 2px solid #e77c7c;
    padding: 0.5rem 1.5rem;
    margin: 0 0.5rem;
    border-radius: 25px;
    color: #e77c7c;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: #e77c7c;
    color: #fff;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0 10%;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.portfolio-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.portfolio-info {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: rgba(231, 124, 124, 0.9);
    color: #fff;
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-info {
    bottom: 0;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

/* 花艺课程页面样式 */
.course-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 0 10%;
}

.course-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.course-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.course-info {
    padding: 1.5rem;
}

.course-info h4 {
    color: #e77c7c;
    margin-bottom: 1rem;
}

.course-details {
    list-style: none;
    margin: 1rem 0;
}

.course-details li {
    margin-bottom: 0.5rem;
    color: #666;
}

.enroll-btn {
    background: #e77c7c;
    color: #fff;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.enroll-btn:hover {
    background: #d66c6c;
}

.enroll-btn.small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* 课程表格样式 */
.schedule-table {
    padding: 0 10%;
    margin: 2rem 0;
}

.schedule-table table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.schedule-table th,
.schedule-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.schedule-table th {
    background: #f9f9f9;
    color: #4a4a4a;
}

/* 联系我们页面样式 */
.contact-content {
    padding: 4rem 10%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.info-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.info-card .icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-form-section {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #4a4a4a;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.submit-btn {
    background: #e77c7c;
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #d66c6c;
}

.map-section {
    padding: 2rem 10%;
}

.social-media-section {
    padding: 4rem 10%;
    background: #f9f9f9;
}

.social-media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.social-media-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.social-media-card img {
    width: 150px;
    height: 150px;
    margin-bottom: 1rem;
} 